#ifndef MAIN_WIDGET_H
#define MAIN_WIDGET_H

#include <QtGui/QWidget>
#include "ui_main_widget.h"
#include "write_mblog_widget.h"
#include "news_widget.h"
#include "my_mblog_widget.h"
#include "mystar_widget.h"
#include "myfans_widget.h"

class main_widget : public QWidget
{
    Q_OBJECT

public:
    news_widget* nw;
    my_mblog_widget* mmw;
    mystar_widget* msw;
    myfans_widget* mfw;
    main_widget(QWidget *parent = 0);
    ~main_widget();

private:
    Ui::main_widgetClass ui;
    void SetTabWidget();
private slots:
	void on_btnWrite_clicked();
	void on_twMain_changed(int i);
};

#endif // MAIN_WIDGET_H
